package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.OptionOrderMapper;
import com.rongke.model.OptionOrder;
import com.rongke.model.OrderTemp;
import com.rongke.service.OptionOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @OptionOrderServiceImpl
 * @ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class OptionOrderServiceImpl extends ServiceImpl<OptionOrderMapper, OptionOrder> implements OptionOrderService {
    @Autowired
    OptionOrderMapper optionOrderMapper;
    @Override
    public List<OrderTemp> selectOrder(Long userId) {
        return optionOrderMapper.selectOrder(userId);
    }
}
